#pragma once

#define COMPIPENAME L"WinUAE_COM"

extern void* createIPC(const TCHAR* name, int);
extern void closeIPC(void*);
extern int checkIPC(void*, CConfiguration*);
extern void* geteventhandleIPC(void*);
extern int sendBinIPC(void*, byte* msg, int len);
extern int sendIPC(void*, TCHAR* msg);
extern int isIPC(const TCHAR* pipename);